home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MIDICraft's MIDINET CD-ROM
/
MIDICraft's MIDINET CD-ROM.iso
/
DOSUTILS
/
RMI2MID.DOC
< prev
next >
Wrap
Text File
|
1995-10-21
|
3KB
|
110 lines
******************************
RMI2MID v1.0
convert riff midi to standard midi
by Guenter Nagler
1995
(gnagler@ihm.tu-graz.ac.at)
******************************
[1] BACKGROUND
Sometimes I get *.rmi files that are Microsoft specific midi files.
Only Windows Players support this format.
I prefer using dos players and the builtin player of a music workstation
and they cannot load RMI.
When I studied the content of an RMI file, I found that the real standard
midi file is contained in the file. RIFF is an uncompressed archive that
stores multimedia data.
It was very easy to implement this converter.
[2] FILES DESCRIPTION
RMI2MID.EXE..........MSDOS executable fixes structure bugs in midifiles
RMI2MID.DOC..........this file, showing usage of RMI2MID.EXE
RMI2MID.CPP..........C++ source code for rmi2mid (DOS/UNIX)
only RMI2MID.EXE is required to run program
[3] COPYRIGHT
RMI2MID (c) 1995 was created by Guenter Nagler.
RMI2MID is free and may be used as you wish with this one exception:
You may NOT charge any fee or derive any profit for distribution
of RMI2MID. Thus, you may NOT sell or bundle RMI2MID with any
product in a retail environment (shareware disk distribution, CD-ROM,
etc.) without permission of the author.
You may give RMI2MID to your friends, upload it to a BBS, or ftp it to
another internet site, as long as you don't charge anything for it.
[4] DISCLAIMER
RMI2MID was designed to handle RIFF files that contain only one midi file.
RMI2MID does not check the midi file content.
Use RMI2MID at your own risk. Anything you do with RMI2MID is your
responsibility, and not the author's. Any damage caused to any person,
computer, software, hardware, company, or business by running RMI2MID
is your responsibility, and the author will not be liable.
If you don't understand these terms, or are not sure of something, or
are afraid something bad might come of using RMI2MID, don't use it!
You are here forewarned.
[5] INSTALLATION
[MSDOS]
Simply copy RMI2MID.EXE in a directory that is in your path.
When you start the program without arguments
C:\> RMI2MID
you should get the usage text (see next section)
[UNIX]
compile sources with your C++ compiler (e.g. GNU Compiler g++):
g++ -o rmi2mid rmi2mid.cpp
and run program
$ rmi2mid
[6] USAGE
usage: RMI2MID file.rmi [file.mid]
[7] EXAMPLES
example: extract a midi song from a riff file example.rmi
rmi2mid example.rmi
The result will be written to example.mid!
Warning:
[MSDOS] rmi2mid does not accept wildcards like * and ?
Use for loop to extract from a list of rmi files
e.g. for %i in (*.rmi) do rmi2mid %i
[Unix] Do not use wildcards in file.rmi paramter
the system will expand the wildcard (e.g. *.rmi) to the list of
matching filenames.
Use foreach or for loop to extract from a list of rmi files
e.g. foreach i in (*.rmi) rmi2mid $i
example: example.rmi existing.mid
output filename existing.mid already exists.
Warning: rmi2mid does not overwrite existing output files!
You need to delete it first or specify an alternate output filename.
[8] SUGGESTIONS / COMMENTS / BUG REPORTS / QUESTIONS
WWW: http://hgiicm.tu-graz.ac.at/Cpub
contains all my dos/unix midi programs
EMAIL: gnagler@ihm.tu-graz.ac.at